
#ifndef   __HPLC_ARCHIVES_MANAGER_H__
#define   __HPLC_ARCHIVES_MANAGER_H__

#include "../../common/include/CConfigManager.h"
#include "../../HPLCProxy/include/HPLCProxy.h"

#include <pthread.h>


class HPLCArchivesManager
{
public:

    HPLCArchivesManager(std::shared_ptr<CConfigManager> cm, std::shared_ptr<HPLCProxy> hplc_ptr);
    ~HPLCArchivesManager();

    void ArchivesRegister();
    static void *handle_thread(void *arg);


    std::shared_ptr<CConfigManager> m_cm;
    std::shared_ptr<HPLCProxy>      m_hplc_ptr;
private:
    
    pthread_t m_pthread_id;

};

#endif